#ifndef VERTEX_INFO_H
#define VERTEX_INFO_H

#include <ostream>
#include "Parser.h"

// An abstract parent class, being the interface to info on a
// vertex in a graph.  Subclasses actually hold the information
// for the vertex, and know how to read and write the info.

class Vertex_Info {
public:
    virtual std::ostream& print(std::ostream& os) const = 0;
    virtual bool match(Parser& parser) = 0;
};

#endif
